This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
class WakeNotifier | ||||
class, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: does nothing. | ||
Function:
Notification and statistics about sleeping off a Mac. | ||||
CallEvents as boolean | ||||
property, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> 0. | ||
Function:
Wether or not to call the events of this class. | ||||
Notes:
Default is false. | ||||
DisableSleep as boolean | ||||
property, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> false. | ||
Function:
Diabled sleep if a sleep request comes? | ||||
Notes:
Not used if you have code in the SleepRequest event handler. | ||||
HadSleeped as boolean | ||||
property, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> false. | ||
Function:
Sleeped since last reset? | ||||
Notes:
You can set this value to false to reset it. | ||||
LastSleepTime as integer | ||||
property, WakeNotifier | Plugin version: 2.6 | Mi, 4. Sep 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> 0. | ||
Function:
Last time in absolute seconds when falled asleep. | ||||
LastWakeTime as integer | ||||
property, WakeNotifier | Plugin version: 2.6 | Mi, 4. Sep 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> 0. | ||
Function:
Last time in absolute seconds when waken up. | ||||
SleepCount as integer | ||||
property, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> 0. | ||
Function:
Count of sleep demands. | ||||
SleepDemand | ||||
event, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: never called. | ||
Function:
Called just before falling asleep. | ||||
SleepEventCount as boolean | ||||
property, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> 0. | ||
Function:
Counts how often the Power Manager calls the sleep notification function. | ||||
Notes:
For debugging so you know that sleep requests are handled. | ||||
SleepRequest as boolean | ||||
event, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: never called. | ||
Function:
Can be go sleeping? | ||||
Notes:
Return true to deny sleeping. Returning nothing or false will put the Mac to sleep. | ||||
SleepRevoke | ||||
event, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: never called. | ||
Function:
Called when a sleep request was denied by an application or a device driver. | ||||
Valid as boolean | ||||
property, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> false. | ||
Function:
Returns True if the sleep event handler could be installed. | ||||
Notes:
False, if no Power Manager is installed. | ||||
WakeCount as integer | ||||
property, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: -> 0. | ||
Function:
Count of waking up. | ||||
WakeUp | ||||
event, WakeNotifier | Plugin version: 2.6 | Mi, 28. Aug 2002 | ||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: never called. | ||
Function:
Called when the Mac wakes up. |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.